package mips.exceptions;

/**
 * Exception thrown when an instruction with no execute() implementation is dispatched and executed.
 * @author jnmartin84@gmail.com
 */
public class UnimplementedInstructionException extends MipsException {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1L;
	
	public UnimplementedInstructionException(final int PC, final int instruction) {
		super(PC,instruction);
	}
	
	@Override
	public final int getPC() {
		return this.PC;
	}
	
	@Override
	public final int getInstruction() {
		return this.instruction;
	}
}
